<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>使用bootstrap绘制form表单</title>
<!-- Bootstrap core CSS -->
<link
	href="${pageContext.servletContext.contextPath}/static/plugins/bootstrap-3.3.7-dist/css/bootstrap.min.css"
	rel="stylesheet">
<link
	href="${pageContext.servletContext.contextPath}/static/plugins/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css"
	rel="stylesheet">
<!-- bootstrap-datepicker-1.9.0-dist -->
<link
	href="${pageContext.servletContext.contextPath}/static/plugins/bootstrap-datepicker-1.9.0-dist/css/bootstrap-datepicker.min.css"
	rel="stylesheet">

<!-- Bootstrap core CSS -->
<link
	href="${pageContext.servletContext.contextPath}/static/plugins/bootstrap-3.3.7-dist/css/bootstrap.min.css"
	rel="stylesheet">
<link
	href="${pageContext.servletContext.contextPath}/static/plugins/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css"
	rel="stylesheet">
<!-- Bootstrap core JavaScript-->
<!-- Placed at the end of the document so the pages load faster -->
<!--import jquery before bootstrap javascript-->
<script
	src="${pageContext.servletContext.contextPath}/static/plugins/jquery-1.12.4/jquery-1.12.4.min.js"></script>
<script
	src="${pageContext.servletContext.contextPath}/static/plugins/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>


<style>
#maindiv {
	width: 80%;
	padding-top: 10px;
}
</style>
</head>
<body>
<div id="maindiv" >
	<div height="60px" width="100%"></div>
		<form id="modifyForm" class="form-horizontal" action="${pageContext.servletContext.contextPath}/UserInfoModifyControl" method="post" >
		
			<!-- 添加隐藏表单域是为了修改使用；将当前修改的记录的主键一并通过form表单传到服务器 -->
			<div class="form-group">
				<label class="col-sm-2 control-label">原密码</label>
				<div class="col-sm-4">
					<input type="password" class="form-control" id="old_Psw"
						name="oldPsw" placeholder="请输入原密码">
				</div>
			</div>
			
			<div class="form-group">
				<label class="col-sm-2 control-label">新密码</label>
				<div class="col-sm-4">
					<input type="password" class="form-control" id="new_Psw" 					 
						name="newPsw" placeholder="请输入新密码">
				</div>
			</div>
			<div class="col-sm-offset-2 col-sm-2">
					<button type="submit" id="ModifyInfo" class="btn btn-default" >修改</button>
				</div>
		</form>
	</div>
</body>
</html>